package com.fqgj.xjd.user.client.request;

import com.fqgj.xjd.user.client.response.UserFamilyContact;
import com.fqgj.xjd.user.client.response.UserFriendContact;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/3
 * Time: 下午1:53
 */
public class UserEmergencyContact implements Serializable{

    private static final long serialVersionUID = -5840963687912152555L;

    private Long id;

    private String userCode;

    private UserFamilyContact userFamilyContact;

    private UserFriendContact userFriendContact;

    public UserEmergencyContact() {
    }

    public UserEmergencyContact(String userCode, UserFamilyContact userFamilyContact, UserFriendContact userFriendContact) {
        this.userCode = userCode;
        this.userFamilyContact = userFamilyContact;
        this.userFriendContact = userFriendContact;
    }

    public String getUserCode() {
        return userCode;
    }

    public UserEmergencyContact setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public UserFamilyContact getUserFamilyContact() {
        return userFamilyContact;
    }

    public UserEmergencyContact setUserFamilyContact(UserFamilyContact userFamilyContact) {
        this.userFamilyContact = userFamilyContact;
        return this;
    }

    public Long getId() {
        return id;
    }

    public UserEmergencyContact setId(Long id) {
        this.id = id;
        return this;
    }

    public UserFriendContact getUserFriendContact() {
        return userFriendContact;
    }

    public UserEmergencyContact setUserFriendContact(UserFriendContact userFriendContact) {
        this.userFriendContact = userFriendContact;
        return this;
    }


}
